package com.zzyy.receive.notify.api;

import com.zzyy.receive.notify.entity.AccountRecharge;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @auther zzyy
 * @create 2023-03-26 15:09
 */
@FeignClient(value = "dtx-cm-recharge",fallback = RechargeFallback.class)
public interface RechargeClient
{
    //远程调用充值系统的接口查询充值结果
    @GetMapping(value = "/rechargeresult/{txNo}")
    public AccountRecharge rechargeresult(@PathVariable("txNo") String txNo);
}

